<div id="mainLayout" fwa-layout-container="" data-main="true" class="full-height full-width">
	<div fwa-layout-box="north" data-padding="true" style="height:350px;" class="full-overflow-y">
           <div class="full-height full-width background-white" >
                   	<div class="row title"  >
						<div class="form-group col-xs-8 " >
							<h5 >
								<b>基础信息</b>
							</h5>
						</div>
					<div class="col-xs-4 text-right" ng-show="UrlParams.providerid">
						<h5 >
							<a ng-click="queryChange();">变更记录>></a>
						</h5>
					</div>
					</div>
					<div class="row" style="margin-top: 10px;">
						<div class="form-group col-xs-4" >
							<div class="col-xs-4 control-label text-right">
								<span class="red"> * </span>机构名称:
							</div>
							<div class="col-xs-8">
								<input type="text" disabled="disabled"  class="form-control" ng-blur="autoSearchInstitution($event)" required ng-model="institutionDetail.providerName" maxlength="60" >
							</div>
						</div>
						
						<div class="form-group col-xs-4" style="line-height: 34px;">
							<div class="col-xs-4 control-label text-right">
							<span class="red"> * </span>机构编号:
							</div>
							<div class="col-xs-8">
							 <input class="form-control" name = "orgCode"  disabled="disabled"  ng-model="institutionDetail.providerCode"  type="text" maxlength="10">
							 </div>
						</div>
						<div class="form-group col-xs-4">
							<div class="col-xs-4 control-label text-right">
								<span class="red"> * </span>经营性质:
							</div>
							<div class="col-xs-8">
							<select class="form-control" name = "managementCode"  required ng-model="institutionDetail.managementCode"
				                    ng-options="c.codeno as c.codename for c in communityService.dictionaryMap['classificationType']">
				                <option value="">---请选择---</option>
				         	 </select>
		         	 	</div>
		         	 	</div>
		
					</div>
					
					<div class="row" style="margin-top: 10px;">
						<div class="form-group col-xs-4">
							<div class="col-xs-4 control-label text-right">
								<div class="row" style="padding-right: 6px;">
									<span class="red"> * </span>组织机构代码:
								</div>
							</div>
							<div class="col-xs-8">
									<input class="form-control" disabled="disabled"  name = "orgcode"  ng-model="institutionDetail.organizationCode" type="text" maxlength="10">
							</div>
						</div>
						
						
						<div class="form-group col-xs-4">
							<div class="col-xs-4 control-label text-right">
								<span class="red"> * </span>定点期限:
							</div>
						    <div class="col-xs-8">
			                 <div class="col-xs-6" style="padding:0px;">
		                    	<input disabled="disabled"  ng-model="institutionDetail.pointStartdate" class="form-control" fwa-datetime ng-change="inputChange()">
		                    </div>
		                    <div class="col-xs-6" style="padding:0px;">
		                     	<input disabled="disabled"  ng-model="institutionDetail.pointEnddate" class="form-control" fwa-datetime ng-change="inputChange()">
		                    </div>
	                    	</div>
						</div>
						<div class="form-group col-xs-4">
							<div class="col-xs-4 control-label text-right">
								<span class="red"> * </span>文件号:
							</div>
							<div class="col-xs-8">
									<input disabled="disabled"  class="form-control" name = "orgcode"  ng-model="institutionDetail.fileNo" type="text" maxlength="15">
							</div>
						</div>
						
		

		
					</div>
		            <div class="row" style="margin-top: 10px;">
		            	 <div class="form-group col-xs-4">
		                    <div class="col-xs-4 control-label text-right">
		                        <span class="red"> * </span>定点类别:
		                    </div>
		                    <div class="col-xs-8">
		                        <drop-down disabled="disabled"  code="codeno" text="codename" row="1" width="210"
		                                   result="institutionDetail.pointType1"
		                                   data="communityService.dictionaryMap['pointType']">
		                        </drop-down>
		                    </div>
		                </div>
		                
		               <div class="form-group col-xs-4">
							<div class="col-xs-4 control-label text-right">
								<span class="red"> * </span>开通业务:
							</div>
							<div class="col-xs-8">
					            <drop-down disabled="disabled"  code="codeno" text="codename" row="1" width="210"
									result="institutionDetail.openBusiness1"
									data="communityService.dictionaryMap['openBusiness']">
								 </drop-down>
							</div>
						</div>
		                <div class="form-group col-xs-4">
		                    <div class="col-xs-4 control-label text-right">
		                        <span class="red"> * </span>法人代表:
		                    </div>
		                    <div class="col-xs-8">
		                        <input disabled="disabled"  name = "lealPerson" class="form-control"  ng-model="institutionDetail.lealPerson"  type="text" maxlength="60">
		                    </div>
		                </div>
		            </div>
					<div class="row" style="margin-top: 10px;">
						                <div class="form-group col-xs-4">
		                    <div class="col-xs-4 control-label text-right">
		                        <span class="red"> * </span>所在地区:
		                    </div>
		                    <div class="col-xs-8 ">
			                    <div class="col-xs-4 ">
			                       <select  disabled="disabled"  class="form-control" ng-model="institutionDetail.addressProvince"
			                                 ng-options="c.codeno as c.codename for c in communityService.dictionaryMap['region']">
			                            <option value="">--省--</option>
			                        </select>
			                    </div>
			                     <div class="col-xs-4 ">
			                         <select disabled="disabled"   class="form-control" ng-model="institutionDetail.addressCity" dic="codeno|codename region"
			                                  dic-def-val="市" dic-affect="institutionDetail.addressProvince" dic-param="{codeNo:?,regionType:'2'}">
			                            <option value=""></option>
			                        </select>
			                    </div>
			                     <div class="col-xs-4 ">
			                        <select disabled="disabled"  class="form-control"  ng-model="institutionDetail.addressCounty" dic="codeno|codename region"
			                                 dic-def-val="区" dic-affect="institutionDetail.addressCity" dic-param="{codeNo:?,regionType:'3'}">
			                            <option value=""></option>
			                        </select>
			                    </div>
		                     
		                  
		                    </div>
		                </div>
		
		                <div class="form-group col-xs-8">
		                    <div style="width: 16%;float: left;" class="control-label text-right">
		                        <span class="red"> * </span>详细地址:
		                    </div>
		                    <div style="width: 84%;float: left;padding:0px 3px 0px 5px;">
		                        <input disabled="disabled"  class="form-control" name = "addr"   ng-model="institutionDetail.fullAddress" type="text" maxlength="60">
		                    </div>
		                </div>
					</div>
					
					 <div class="row" style="margin-top: 10px;">
		            	 <div class="form-group col-xs-4">
		                    <div class="col-xs-4 control-label text-right">
		                        <span class="red"> * </span>医保负责人:
		                    </div>
		                    <div class="col-xs-8">
		                    <input class="form-control" name="contacts"   ng-model="relationDetail1.contacts" ng-maxlength="32" type="text">
		                    </div>
		                </div>
		                
		               <div class="form-group col-xs-4">
							<div class="col-xs-4 control-label text-right">
								<span class="red"> * </span>手机:
							</div>
							<div class="col-xs-8">
					   <input class="form-control" name="contacts"   ng-model="relationDetail1.moblie" ng-maxlength="32" type="text">
							</div>
						</div>
		                <div class="form-group col-xs-4">
		                    <div class="col-xs-4 control-label text-right">
		                        <span class="red"> * </span>联系电话:
		                    </div>
		                    <div class="col-xs-8">
		                       <input type="text" class="form-control"  ng-model="relationDetail1.phone" ng-maxlength="60" >
		                    </div>
		                </div>
		            </div>
		            
		            <div class="row" style="margin-top: 10px;">
		            	 <div class="form-group col-xs-4">
		                    <div class="col-xs-4 control-label text-right">
		                        <span class="red"> * </span>医保联系人:
		                    </div>
		                    <div class="col-xs-8">
		                    <input disabled="disabled"  class="form-control" name="contacts"   ng-model="relationDetail2.contacts" ng-maxlength="32" type="text">
		                    </div>
		                </div>
		                
		               <div class="form-group col-xs-4">
							<div class="col-xs-4 control-label text-right">
								<span class="red"> * </span>手机:
							</div>
							<div class="col-xs-8">
					   <input class="form-control" name="contacts" disabled="disabled"   ng-model="relationDetail2.moblie" ng-maxlength="32" type="text">
							</div>
						</div>
		                <div class="form-group col-xs-4">
		                    <div class="col-xs-4 control-label text-right">
		                        <span class="red"> * </span>联系电话:
		                    </div>
		                    <div class="col-xs-8">
		                       <input type="text" class="form-control" disabled="disabled"   ng-model="relationDetail2.phone" ng-maxlength="60" >
		                    </div>
		                </div>
		            </div>
           </div>
	</div>
	<div fwa-layout-box="center" data-padding="true" >
		<div class="full-width full-height" >
	           <div class=" col-xs-5 full-height  background-white">
	           		<div class="row"  >
						<div class=" col-xs-12 title" >
								<h5 >
									<b>执业信息</b>
								</h5>
						</div>
					</div>
					
					<div class="row" style="margin-top: 10px;">
					
						<div class="form-group col-xs-12">
								<div style="width: 30%;float: left;" class="control-label text-right">
								<span class="red"> * </span>执业许可证:
							</div>
								<div style="width: 63%;float: left;padding:0px 3px 0px 5px;">
								<input disabled="disabled"  class="form-control" name = "license"   ng-model="institutionDetail.practiceLicense" type="text" maxlength="15">
							</div>
						</div>
					</div>
					<div class="row" style="margin-top: 10px;">
							<div class="form-group col-xs-12">
									<div style="width: 30%;float: left;" class="control-label text-right">
									<span class="red"> * </span>执业有效期:
								</div>
							  	<div style="width: 63%;float: left;padding:0px 2px 0px 2px;">
				                 <div class="col-xs-6">
			                    	<input ng-model="institutionDetail.startPeriod" class="form-control" fwa-datetime ng-change="inputChange()">
			                    </div>
			                    <div class="col-xs-6">
			                     	<input ng-model="institutionDetail.endPeriod" class="form-control" fwa-datetime ng-change="inputChange()">
			                    </div>
		                   		 </div>
							</div>
		
					</div>
					
					<div class="row" style="margin-top: 10px;">
		
						<div class="form-group col-xs-12" >
							<div style="width: 30%;float: left;" class="control-label text-right">
								<span class="red"> * </span>诊疗科目:
							</div>
						<div style="width: 63%;float: left;padding:0px 3px 0px 5px;">
									<input class="form-control" name = "orgcode"  maxlength="60" title="{{institutionDetail.clinicalSubjects}}" ng-model="institutionDetail.clinicalSubjects" type="text" >
							</div>
						</div>
					</div>
	           </div>
	           <div class="col-xs-7 full-height full-overflow-y">
	           <div class="full-height background-white " style="margin-right: -8px;min-height: 260px;">
	            <div class="row title">
					<div class=" col-xs-12 " >
							<h5 >
								<b>其他信息</b>
							</h5>
					</div>
				</div>	
				<div class="row form-group" style="margin-top: 10px;">
				<div class=" col-xs-6">
					<div style="width: 40%;float: left;" class="control-label text-right">
                     		  成立时间:
					</div>
					<div style="width: 60%;float: left;padding:0px 3px 0px 5px;">
						<input ng-model="institutionDetail.dateRegtime" class="form-control" fwa-datetime ng-change="inputChange()">
					</div>
				</div>
				
				<div class=" col-xs-6">
					<div style="width: 29%;float: left;" class="control-label text-right">
                   		   经济类型:
					</div>
					<div style="width: 69%;float: left;padding:0px 3px 0px 5px;">
					 	<select class="form-control" name = "economicType"  required ng-model="institutionDetail.economicType"
			                    ng-options="c.codeno as c.codename for c in communityService.dictionaryMap['economicType']">
			                <option value="">---请选择---</option>
			         	 </select>
         	 	</div>
				</div>
				</div>
					<div class="row form-group" style="margin-top: 10px;">
						<div class=" col-xs-6">
							<div style="width: 40%;float: left;" class="control-label text-right">
								注册资金(万元):
							</div>
						<div style="width: 60%;float: left;padding:0px 3px 0px 5px;">
								  <input class="form-control" name="registerFund" ng-model="institutionDetail.registerFund"   type="text"  maxlength="13">
							</div>
						</div>
						<div class=" col-xs-6">
							<div style="width: 29%;float: left;" class="control-label text-right">
								邮政编码:
							</div>
							<div style="width: 69%;float: left;padding:0px 3px 0px 5px;">
								 	<input class="form-control" name="contact" ng-model="institutionDetail.postcode" pattern='/^([0-9]{0,6})$/' maxlength="6" type="text">
							</div>
						</div>
						
						
					</div>
					<div class="row form-group" style="margin-top: 10px;">
						<div class=" col-xs-6">
							<div style="width: 40%;float: left;" class="control-label text-right">
								电子邮箱:
							</div>
							<div style="width: 60%;float: left;padding:0px 3px 0px 5px;">
							<input class="form-control" name="mail" ng-model="institutionDetail.mail" maxlength="40" type="text">
							</div>
						</div>
						<div class=" col-xs-6">
							<div style="width: 29%;float: left;" class="control-label text-right">
								网站域名:
							</div>
							<div style="width: 69%;float: left;padding:0px 3px 0px 5px;">
									<input class="form-control" name="domain" ng-model="institutionDetail.webDomain" maxlength="50" type="text">
							</div>
						</div>
					</div>
					
					<div class="row form-group" style="margin-top: 10px;">
						<div class=" col-xs-6">
							<div style="width: 40%;float: left;" class="control-label text-right">
								上下班时间:
							</div>
							<div style="width: 60%;float: left;padding:0px 3px 0px 5px;">
								<input class="form-control" name="commuterTime" ng-model="institutionDetail.commuterTime"  maxlength="50" type="text">
							</div>
						</div>
						<div class=" col-xs-6">
						</div>
					</div>
					
					<div class="row form-group" style="margin-top: 10px;">
						<div class=" col-xs-12">
							<div style="width: 20%;float: left;" class="control-label text-right">
								公交路线描述:
							</div>
							<div style="width: 80%;float: left;padding:0px 3px 0px 5px;">
								<textarea rows="3" class="form-control" ng-validation="{length:{rule:'0-100',msg:'字符不能超过100'}}" name="remarks" ng-model="agreementDetail.remarks" maxlength="130"></textarea>
							</div>
						</div>
					</div>
				 </div>
	           </div>
           </div>
    </div>
	<div fwa-layout-box="south" style="height:100px;" data-padding="true" class="background-white">
		<div class="col-xs-12 text-center" style="margin-top: 30px;">
					<button type="button" 
								class="btn btn-blue btn-sm" ng-show="authority.add != 1" ng-click="saveOrUpadate('1');">保存</button>&nbsp;
				<button type="button" 
								class="btn btn-blue btn-sm" ng-click="cancel('1');">取消</button>
		
		</div>
	</div>
</div>